using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Master
{

    public class Province 
    {
        #region Properties
        public virtual int Id { set; get; }
        public virtual String NameEn { set; get; }
        public virtual String NameTh { set; get; }
        #endregion



        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            if (obj.GetType() != typeof(Province) && !(obj is Province))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}", Id);
        }


    }

   
  
}